package cn.edu.hzvtc.haowen.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.edu.hzvtc.haowen.common.annotation.Excel;
import cn.edu.hzvtc.haowen.common.core.domain.BaseEntity;

/**
 * 问卷信息对象 wenjuan_info
 * 
 * @author haowen
 * @date 2024-05-02
 */
public class WenjuanInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问卷ID */
    private Integer wenjuanId;

    /** 问卷uuid */
    @Excel(name = "问卷uuid")
    private String wenjuanUuid;

    /** 问卷标题 */
    @Excel(name = "问卷标题")
    private String wenjuanTitle;

    /** 问卷类型（1公开 2密码访问 3内部） */
    @Excel(name = "问卷类型", readConverterExp = "1=公开,2=密码访问,3=内部")
    private String wenjuanType;

    /** 问卷描述 */
    @Excel(name = "问卷描述")
    private String wenjuanDesc;

    /** 问卷内容 */
    private String wenjuanContent;

    /** 问卷访问密码 */
    @Excel(name = "问卷访问密码")
    private String wenjuanPassword;

    /** 问卷状态（0关闭 1使用中 2已关闭） */
    @Excel(name = "问卷状态", readConverterExp = "1=创建中,2=使用中,3=已关闭")
    private String status;

    /** 内部问卷 */
    @Excel(name = "内部问卷(部门id)")
    private String createFor;

    @Excel(name = "创建人")
    private String createBy;

    @Override
    public String getCreateBy() {
        return createBy;
    }

    @Override
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public void setWenjuanId(Integer wenjuanId)
    {
        this.wenjuanId = wenjuanId;
    }

    public Integer getWenjuanId() 
    {
        return wenjuanId;
    }
    public void setWenjuanUuid(String wenjuanUuid) 
    {
        this.wenjuanUuid = wenjuanUuid;
    }

    public String getWenjuanUuid() 
    {
        return wenjuanUuid;
    }
    public void setWenjuanTitle(String wenjuanTitle) 
    {
        this.wenjuanTitle = wenjuanTitle;
    }

    public String getWenjuanTitle() 
    {
        return wenjuanTitle;
    }
    public void setWenjuanType(String wenjuanType) 
    {
        this.wenjuanType = wenjuanType;
    }

    public String getWenjuanType() 
    {
        return wenjuanType;
    }
    public void setWenjuanDesc(String wenjuanDesc) 
    {
        this.wenjuanDesc = wenjuanDesc;
    }

    public String getWenjuanDesc() 
    {
        return wenjuanDesc;
    }
    public void setWenjuanContent(String wenjuanContent) 
    {
        this.wenjuanContent = wenjuanContent;
    }

    public String getWenjuanContent() 
    {
        return wenjuanContent;
    }
    public void setWenjuanPassword(String wenjuanPassword) 
    {
        this.wenjuanPassword = wenjuanPassword;
    }

    public String getWenjuanPassword() 
    {
        return wenjuanPassword;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCreateFor(String createFor) 
    {
        this.createFor = createFor;
    }

    public String getCreateFor() 
    {
        return createFor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wenjuanId", getWenjuanId())
            .append("wenjuanUuid", getWenjuanUuid())
            .append("wenjuanTitle", getWenjuanTitle())
            .append("wenjuanType", getWenjuanType())
            .append("wenjuanDesc", getWenjuanDesc())
            .append("wenjuanContent", getWenjuanContent())
            .append("wenjuanPassword", getWenjuanPassword())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("createFor", getCreateFor())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
